Warning: mysqli::__construct(): (08004/1040): Too many connections in /var/www/html/inc/DBconnect.php on line 5
Failed to connect to MySQL: (Too many connections)
Warning: mysqli::prepare(): Couldn't fetch mysqli in /var/www/sql_stmts/functions.php on line 9
Fatal error: Uncaught Error: Call to a member function execute() on bool in /var/www/sql_stmts/functions.php:10
Stack trace:
#0 /var/www/html/inc/functions.php(18): getSales()
#1 /var/www/html/database/staffDetails.php(7): include('/var/www/html/i...')
#2 {main}
thrown in /var/www/sql_stmts/functions.php on line 10